package com.gss.entity.sys.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author DYang
 * @date 2023/6/12
 */
@ApiModel("角色和菜单关联关系表")
@Data
@TableName("sys_role_menu")
public class SysRoleMenu {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("角色id")
    private Integer roleId;

    @ApiModelProperty("菜单id")
    private Integer menuId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否启用 0：启用 1:停用")
    private Integer enable;
}
